package com.stylefeng.guns.modular.pay.service.impl;

import com.stylefeng.guns.modular.pay.model.MchRouter;
import com.stylefeng.guns.modular.pay.dao.MchRouterMapper;
import com.stylefeng.guns.modular.pay.service.IMchRouterService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 支付路由 服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-24
 */
@Service
public class MchRouterServiceImpl extends ServiceImpl<MchRouterMapper, MchRouter> implements IMchRouterService {
	@Autowired
	private MchRouterMapper mchRouterMapper;
	@Override
	public MchRouter findByPayChannelCode(String code) {
		return mchRouterMapper.findByPayChannelCode(code);
	}

}
